package com.mdd.admin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigDecimal;

@Data
@ApiModel("积分变动列表Vo")
public class LogIntegralListedVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "流水号")
    private String sn;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "关联ID")
    private Integer sourceId;

    @ApiModelProperty(value = "关联单号")
    private String sourceSn;

    @ApiModelProperty(value = "变动类型")
    private Integer changeType;

    @ApiModelProperty(value = "变动的数量")
    private BigDecimal changeAmount;

    @ApiModelProperty(value = "变动后数量")
    private BigDecimal leftAmount;

    @ApiModelProperty(value = "变动的动作: 1=增加, 2=减少")
    private Integer action;

    @ApiModelProperty(value = "备注信息")
    private String remark;

    @ApiModelProperty(value = "预留字段")
    private String extra;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;


}
